package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 平台账户对象 t_account
 * 
 * @author mzr
 * @date 2023-12-13
 */
@Data
public class TAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户主键 */
    private Long id;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String accountTitle;

    /** 账户id */
    @Excel(name = "账户id")
    private String accountId;

    /** 账户类型 */
    @Excel(name = "账户类型")
    private Integer type;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date changeTime;

    /** 账户负责人 */
    @Excel(name = "账户负责人")
    private String accountOwner;

    /** 账户状态 */
    @Excel(name = "账户状态")
    private Integer status;

    /**
     * 账户主体类型 四川佳诺信息技术有限公司  1 四川金柠檬科技有限公司  2 四川迈向未来信息科技有限公司  3
     */
    @Excel(name = "账户主体类型")
    private String accountType;

    @Override
    public String toString() {
        return "TAccount{" +
                "id=" + id +
                ", accountTitle='" + accountTitle + '\'' +
                ", accountId='" + accountId + '\'' +
                ", type=" + type +
                ", balance=" + balance +
                ", creatTime=" + creatTime +
                ", changeTime=" + changeTime +
                ", accountOwner='" + accountOwner + '\'' +
                ", status=" + status +
                ", accountType=" + accountType +
                '}';
    }
}
